﻿<!DOCTYPE HTML>  
<html>  
<head>  
<metahttp-equivmetahttp-equiv="Content-Type" content="text/html;charset=utf-8" />  
<title>函数调用</title>  
<script type="text/javascript">  
function contxt(){  
alert("调用函数成功!");  
}  
</script>  
</head>  
<body>  
<form>  
<input type="button" value="点击我" onclick="contxt()">   
</form>  
</body>  
</html> 
